<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;
use App\Models\User;

class Message extends Model
{
    public $timestamps = false;
    protected $table = "mp_messages";

    public function user()
    {
        return $this->belongsTo(User::class, 'FromUserName', 'openid');
    }
}
